#include "stm32f10x.h"

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;

#define USART_MAX_NUM 2

typedef struct {
    USART_TypeDef *instance;
    uint32_t baudRate;
    GPIO_TypeDef  *GPIOx;
    uint32_t rxPin;
    uint32_t txPin;
    IRQn_Type irq;
    uint32_t PreemptPriority;
    uint32_t SubPriority;
}USART_Config_t;

USART_Config_t usartCfg[USART_MAX_NUM] = {
    {USART1, 115200, GPIOA, GPIO_Pin_9, GPIO_Pin_10, USART1_IRQn, 2, 0},
};
